import re

a = 'C++|Java|Python|PHP'

# print(a.index('Java') > -1)
print('Python' in a)

r = re.findall('GO', a)

if len(r) > 0:
    print('find target')
else:
    print('not found')
print('found result: ', r)
